



import 'dart:collection';

import 'package:erp/EventBus/EventBus.dart';
import 'package:quiver/collection.dart';

class EventfulList<E> extends DelegatingList<E> {
  EventfulList(this.bus);
  EventBus bus;

  List<E> _list = List<E>();
  @override
  List<E> get delegate => _list;

  @override
  void add(E value) {
    print("Addedd One Item.");
    super.add(value);
  }
}